import React from 'react';
import logo from './logo.svg';
import './App.css';
import useAlert from './components/Alert';

const App: React.FC = () => {
  const { tiggle } = useAlert();

  return (
    <div className="App">
      <button onClick={() => tiggle('测试')}>xxx</button>
    </div>
  );
};

export default App;
